package com.wjjun.base.ui.viewmodel

import androidx.databinding.ObservableField
import com.wjjun.base.R

/**
 * 当列表为空时的缺省item
 * author : wangjunjun
 * date   : 2022/6/29
 * desc   :
 */
open class EmptyItemViewModel : BaseItemViewModel<String>() {

    val icon = ObservableField<Int>()

    val msg = ObservableField<String>("列表为空")

    val showRefresh = ObservableField(false)

    override fun getItemLayoutId(): Int {
        return R.layout.item_empty
    }
}